package com.shensi.api.admin.domian.station.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shensi.common.core.annotation.Excel;
import com.shensi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 app_user_super_detail
 *
 * @author qujia
 * @date 2021-11-30
 */
public class AppUserSuperDetailDto extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long superDetailId;

    /**
     * 用户id，系统内部分配，来源于app_user_info
     */
    private Long userId;

    /**
     * 来源于app_user_super主键
     */
    private Long superId;

    /**
     * $column.columnComment
     */
    private Long enterpriseId;

    /**
     * 支付单号
     */
    @Excel(name = "支付单号", sort = 2)
    private String payOrder;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", sort = 10, width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beginDate;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", sort = 11, width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    /**
     * 0手动添加，1线上添加
     */
    private Integer openingMode;

    /**
     * 0生效，1停用
     */
    private Integer enable;

    /**
     * 创建人
     */
    //@Excel(name = "创建人")
    private String creatby;

    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //@Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;


    /**
     * 0手动添加，1线上添加
     */
    @Excel(name = "开通方式", sort = 8)
    private String openingModeName;


    @Excel(name = "会员编码", sort = 3)
    private String memberCode;
    @Excel(name = "特权名称", sort = 6)
    private String superName;
    @Excel(name = "昵称", sort = 5)
    private String blogNickName;
    //@Excel(name = "立减活动")
    private String activityName;
    @Excel(name = "状态", sort = 9)
    private String enableName;
    @Excel(name = "积分倍数", sort = 7)
    private Double multiple;
    @Excel(name = "手机号", sort = 4)
    private String mobilePhone;

    @ApiModelProperty(value = "油企名称")
    @Excel(name = "油企名称", sort = 1)
    private String enterpriseName;

    private List<Long> enterpriseIdList;

    public void setSuperDetailId(Long superDetailId) {
        this.superDetailId = superDetailId;
    }

    public Long getSuperDetailId() {
        return superDetailId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setSuperId(Long superId) {
        this.superId = superId;
    }

    public Long getSuperId() {
        return superId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setPayOrder(String payOrder) {
        this.payOrder = payOrder;
    }

    public String getPayOrder() {
        return payOrder;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setOpeningMode(Integer openingMode) {
        this.openingMode = openingMode;
    }

    public Integer getOpeningMode() {
        return openingMode;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setCreatby(String creatby) {
        this.creatby = creatby;
    }

    public String getCreatby() {
        return creatby;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public String getOpeningModeName() {
        return openingModeName;
    }

    public void setOpeningModeName(String openingModeName) {
        this.openingModeName = openingModeName;
    }

    public String getMemberCode() {
        return memberCode;
    }

    public void setMemberCode(String memberCode) {
        this.memberCode = memberCode;
    }

    public String getSuperName() {
        return superName;
    }

    public void setSuperName(String superName) {
        this.superName = superName;
    }

    public String getBlogNickName() {
        return blogNickName;
    }

    public void setBlogNickName(String blogNickName) {
        this.blogNickName = blogNickName;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public Double getMultiple() {
        return multiple;
    }

    public void setMultiple(Double multiple) {
        this.multiple = multiple;
    }

    public String getEnableName() {
        return enableName;
    }

    public void setEnableName(String enableName) {
        this.enableName = enableName;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public List<Long> getEnterpriseIdList() {
        return enterpriseIdList;
    }

    public void setEnterpriseIdList(List<Long> enterpriseIdList) {
        this.enterpriseIdList = enterpriseIdList;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("superDetailId", getSuperDetailId())
                .append("userId", getUserId())
                .append("superId", getSuperId())
                .append("enterpriseId", getEnterpriseId())
                .append("payOrder", getPayOrder())
                .append("beginDate", getBeginDate())
                .append("endDate", getEndDate())
                .append("openingMode", getOpeningMode())
                .append("enable", getEnable())
                .append("creatby", getCreatby())
                .append("createdate", getCreatedate())
                .toString();
    }
}
